<template>
  <div class="all-wrapper">
    <SideBar_main />
    <div class="main_box">
      <TopBar_main />
      <div class="main-home">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import SideBar_main from '@/components/SideBar_main.vue';
import TopBar_main from '@/components/TopBar_main.vue';
</script>


<style lang="scss">
@import "@/assets/styles/index.scss";

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  /* border: 1px solid red; */
  color: #2c3e50;
}

.all-wrapper {
  /* border: 1px solid red; */
  height: 100vh;
  width: 100vw;
  overflow: auto;
  display: flex;

  >.main_box {
    display: flex;
    width: 100%;
    flex-direction: column;
    // background-color: white;

    >.main-home {
      height: calc(100% - 30px);
      width: 100%;
      padding: 3px;
      background-color: white;
      border-radius: 5px;
      box-shadow: rgba(60, 64, 67, 0.2) 0px 2px 6px 2px;
    }
  }

}
</style>
